Skip to content

android-interop-testing: add AndroidX Test core in implementation#12718

Open
shivaspeaks wants to merge 5 commits intogrpc:masterfrom
shivaspeaks:fix-android-test-issue
Open

android-interop-testing: add AndroidX Test core in implementation#12718
shivaspeaks wants to merge 5 commits intogrpc:masterfrom
shivaspeaks:fix-android-test-issue

Conversation

@shivaspeaks
Copy link
Member

@shivaspeaks shivaspeaks commented Mar 19, 2026

This alignment resolves a version skew issue that caused NoClassDefFoundError crashes during instrumentation tests on Firebase Test Lab.

Fixes #12703 (comment)

@shivaspeaks shivaspeaks added the kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary label Mar 19, 2026
@shivaspeaks shivaspeaks added kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run and removed kokoro:force-run Add this label to a PR to tell Kokoro to re-run all tests. Not generally necessary labels Mar 19, 2026
@ejona86
Copy link
Member

ejona86 commented Mar 19, 2026

Please test this by running the tests using gcloud firebase. Refer to the CI:

gcloud firebase test android run \
--type instrumentation \
--app android-interop-testing/build/outputs/apk/debug/grpc-android-interop-testing-debug.apk \
--test android-interop-testing/build/outputs/apk/androidTest/debug/grpc-android-interop-testing-debug-androidTest.apk \
--environment-variables \
server_host=grpc-test.sandbox.googleapis.com,server_port=443,test_case=all \
--device model=MediumPhone.arm,version=30,locale=en,orientation=portrait \
--device model=MediumPhone.arm,version=29,locale=en,orientation=portrait \
--device model=MediumPhone.arm,version=28,locale=en,orientation=portrait \
--device model=MediumPhone.arm,version=27,locale=en,orientation=portrait \
--device model=MediumPhone.arm,version=26,locale=en,orientation=portrait \
--device model=Nexus6P,version=25,locale=en,orientation=portrait \
--device model=Nexus6P,version=24,locale=en,orientation=portrait \

@ejona86
Copy link
Member

ejona86 commented Mar 19, 2026

which triggered a "classpath split" issue.

Are you sure? You're telling me that implementation is not part of androidTestImplementation deps? That seems unlikely.

What seems more likely is there's a version skew problem.

@shivaspeaks shivaspeaks requested a review from ejona86 March 19, 2026 19:13
Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to reword the title, and maybe tweak the description.

@shivaspeaks shivaspeaks changed the title android-interop-testing: add AndroidX Test core and rules to androidTestImplementation android-interop-testing: add AndroidX Test core in implementation Mar 19, 2026
@shivaspeaks
Copy link
Member Author

Is there a problem with Kokoro? It's not running, I tried with kokoro force run as well, but it didn't run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants